package org.metasketch.ham.model;

import org.metasketch.model.CommonIdentified;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("human-activity-participation-link")
public class HumanActivityParticipationRelationLink extends CommonIdentified {

	// by id
	@XStreamAsAttribute
	@XStreamAlias("source-human-activity")
	HumanActivityElement source;

	// by id
	@XStreamAsAttribute
	@XStreamAlias("target-participation-element")
	HumanParticipationElement target;

	@XStreamAsAttribute
	HumanActivityParticipationRelationType type = HumanActivityParticipationRelationType.INPUT;

	public HumanActivityElement getSource() {
		return source;
	}

	public void setSource(HumanActivityElement source) {
		this.source = source;
	}

	public HumanParticipationElement getTarget() {
		return target;
	}

	public void setTarget(HumanParticipationElement target) {
		this.target = target;
	}

	public HumanActivityParticipationRelationType getType() {
		return type;
	}

	public void setType(HumanActivityParticipationRelationType type) {
		this.type = type;
	}

}
